/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.resource.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 试卷管理Entity
 * @author dh
 * @version 2017-01-15
 */
public class ResourcePaper extends DataEntity<ResourcePaper> {
	
	private static final long serialVersionUID = 1L;
	private String paperName;		// 试卷名称
	private String paperAttribute;		// 试卷属性
	private String paperType;		// 试卷类型
	private String questionSum;		// 题目总数
	private String experimentSum;		// 实验题目数量
	private String totalScore;		// 总分
	//补充字段:试卷是否被选择
	private String isChoose;
	private String trainprogramId;// 培训方案id

	private String radio_options;
	private String checkbox_options;
	private String judement_options;
	private String shortAnswer_options;

	private String radio_difficulty;
	private String checkbox_difficulty;
	private String judement_difficulty;
	private String shortAnswer_difficulty;

	public String getRadioScore() {
		return radioScore;
	}

	public void setRadioScore(String radioScore) {
		this.radioScore = radioScore;
	}

	private String radioScore;
	private String checkboxScore;
	private String judementScore;
	private String shortAnswerScore;

	private String radio_countNumber;
	private String checkbox_countNumber;
	private String judement_countNumber;
	private String shortAnswer_countNumber;
	public String getRepertoryId() {
		return repertoryId;
	}

	public void setRepertoryId(String repertoryId) {
		this.repertoryId = repertoryId;
	}

	private String repertoryId;


	//随机试卷生成补充字段


	public String getCheckbox_options() {
		return checkbox_options;
	}

	public void setCheckbox_options(String checkbox_options) {
		this.checkbox_options = checkbox_options;
	}

	public String getRadio_options() {
		return radio_options;
	}

	public void setRadio_options(String radio_options) {
		this.radio_options = radio_options;
	}

	public String getJudement_options() {
		return judement_options;
	}

	public void setJudement_options(String judement_options) {
		this.judement_options = judement_options;
	}

	public String getShortAnswer_options() {
		return shortAnswer_options;
	}

	public void setShortAnswer_options(String shortAnswer_options) {
		this.shortAnswer_options = shortAnswer_options;
	}



	public String getRadio_difficulty() {
		return radio_difficulty;
	}

	public void setRadio_difficulty(String radio_difficulty) {
		this.radio_difficulty = radio_difficulty;
	}



	public String getCheckbox_difficulty() {
		return checkbox_difficulty;
	}

	public void setCheckbox_difficulty(String checkbox_difficulty) {
		this.checkbox_difficulty = checkbox_difficulty;
	}

	public String getJudement_difficulty() {
		return judement_difficulty;
	}

	public void setJudement_difficulty(String judement_difficulty) {
		this.judement_difficulty = judement_difficulty;
	}

	public String getShortAnswer_difficulty() {
		return shortAnswer_difficulty;
	}

	public void setShortAnswer_difficulty(String shortAnswer_difficulty) {
		this.shortAnswer_difficulty = shortAnswer_difficulty;
	}


	public String getCheckboxScore() {
		return checkboxScore;
	}

	public void setCheckboxScore(String checkboxScore) {
		this.checkboxScore = checkboxScore;
	}

	public String getJudementScore() {
		return judementScore;
	}

	public void setJudementScore(String judementScore) {
		this.judementScore = judementScore;
	}

	public String getShortAnswerScore() {
		return shortAnswerScore;
	}

	public void setShortAnswerScore(String shortAnswerScore) {
		this.shortAnswerScore = shortAnswerScore;
	}

	public String getRadio_countNumber() {
		return radio_countNumber;
	}

	public void setRadio_countNumber(String radio_countNumber) {
		this.radio_countNumber = radio_countNumber;
	}

	public String getCheckbox_countNumber() {
		return checkbox_countNumber;
	}

	public void setCheckbox_countNumber(String checkbox_countNumber) {
		this.checkbox_countNumber = checkbox_countNumber;
	}

	public String getJudement_countNumber() {
		return judement_countNumber;
	}

	public void setJudement_countNumber(String judement_countNumber) {
		this.judement_countNumber = judement_countNumber;
	}

	public String getShortAnswer_countNumber() {
		return shortAnswer_countNumber;
	}

	public void setShortAnswer_countNumber(String shortAnswer_countNumber) {
		this.shortAnswer_countNumber = shortAnswer_countNumber;
	}


	public ResourcePaper() {
		super();
	}

	public ResourcePaper(String id){
		super(id);
	}

	@Length(min=1, max=64, message="试卷名称长度必须介于 1 和 64 之间")
	public String getPaperName() {
		return paperName;
	}

	public void setPaperName(String paperName) {
		this.paperName = paperName;
	}
	
	@Length(min=1, max=4, message="试卷属性长度必须介于 1 和 4 之间")
	public String getPaperAttribute() {
		return paperAttribute;
	}

	public void setPaperAttribute(String paperAttribute) {
		this.paperAttribute = paperAttribute;
	}
	
	@Length(min=1, max=4, message="试卷类型长度必须介于 1 和 4 之间")
	public String getPaperType() {
		return paperType;
	}

	public void setPaperType(String paperType) {
		this.paperType = paperType;
	}
	
	@Length(min=0, max=32, message="题目总数长度必须介于 0 和 32 之间")
	public String getQuestionSum() {
		return questionSum;
	}

	public void setQuestionSum(String questionSum) {
		this.questionSum = questionSum;
	}
	
	@Length(min=0, max=32, message="实验题目数量长度必须介于 0 和 32 之间")
	public String getExperimentSum() {
		return experimentSum;
	}

	public void setExperimentSum(String experimentSum) {
		this.experimentSum = experimentSum;
	}
	
	@Length(min=0, max=32, message="总分长度必须介于 0 和 32 之间")
	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	public String getIsChoose() {
		return isChoose;
	}

	public void setIsChoose(String isChoose) {
		this.isChoose = isChoose;
	}

	public String getTrainprogramId() {
		return trainprogramId;
	}

	public void setTrainprogramId(String trainprogramId) {
		this.trainprogramId = trainprogramId;
	}
}